interface member {
  columns: Array<any>;
  columnDatas: Array<any>;
}
//页码初始化设置
export const pageInit = {
  page: 1, //页码
  rowsPerPage: 15, //每页显示条数
  per_page: 15, //每页显示条数
  rowsNumber: 0, //总条数
};
//贴子类型列表
export const typeData: member = {
  columns: [
    {
      name: 'id',
      label: 'id',
      align: 'left',
      field: 'id',
    },
    {
      name: 'type_name',
      label: '类型名称',
      align: 'left',
      field: 'type_name',
    },
    {
      name: 'type_state',
      align: 'left',
      label: '状态',
      field: 'type_state',
    },
    {
      name: 'operation',
      label: '操作',
      align: 'center',
      field: 'operation',
    },
  ],
  columnDatas: [],
};

//贴子列表
export const listData: member = {
  columns: [
    {
      name: 'id',
      label: 'id',
      align: 'left',
      field: 'id',
    },
    {
      name: 'type',
      label: '内容类型',
      align: 'left',
      field: 'type',
    },
    {
      name: 'title',
      align: 'left',
      label: '标题',
      field: 'title',
    },
    {
      name: 'subject',
      align: 'left',
      label: '话题',
      field: 'subject',
    },
    {
      name: 'bbs_state',
      align: 'left',
      label: '状态',
      field: 'bbs_state',
    },
    {
      name: 'operation',
      label: '操作',
      align: 'center',
    },
  ],
  columnDatas: [],
};

//贴子评论列表
export const commentData: member = {
  columns: [
    {
      name: 'id',
      label: 'id',
      align: 'left',
      field: 'id',
    },
    {
      name: 'bbs_id',
      label: 'bbs_id',
      align: 'left',
      field: 'bbs_id',
    },
    {
      name: 'content',
      label: '评论内容',
      align: 'left',
      field: 'content',
    },
    {
      name: 'reply',
      align: 'left',
      label: '回复人',
      field: 'reply',
    },
    {
      name: 'member',
      align: 'left',
      label: '被回复人',
      field: 'member',
    },
    {
      name: 'operation',
      label: '操作',
      align: 'center',
    },
  ],
  columnDatas: [],
};

//贴子点赞列表
export const likeData: member = {
  columns: [
    {
      name: 'id',
      label: 'id',
      align: 'left',
      field: 'id',
    },
    {
      name: 'bbs_id',
      label: 'bbs_id',
      align: 'left',
      field: 'bbs_id',
    },
    {
      name: 'created_at',
      label: '添加时间',
      align: 'left',
      field: 'created_at',
    },
    {
      name: 'member',
      align: 'left',
      label: '被点赞人',
      field: 'member',
    },
    {
      name: 'operation',
      label: '操作',
      align: 'center',
    },
  ],
  columnDatas: [],
};
